package dfbz.com.model;

import dfbz.com.annotation.Table;

import java.io.Serializable;
@Table("favorite")
public class Favorite implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 收藏用户id
     */
    private Integer uId;

    /**
     * 文章id
     */
    private Integer aId;

    public Favorite() {
    }

    public Favorite(Integer id, Integer uId, Integer aId) {
        this.id = id;
        this.uId = uId;
        this.aId = aId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }
}